package com.gzhryc.net_marketing.cloud.business.services.models;

import java.util.Date;

import com.gzhryc.net_marketing.cloud.business.dao.enums.PayGoodsOrderLogEnum;
import com.gzhryc.shared_device.base.enums.EOperatorType;

public class PayGoodsOrderLogItem {

    private String content;
    private String programType;     //程序
    private String programTypeName;
    private Integer operatorType;
    private String operator;
    private Integer state;          //状态
    private String errorMsg;        //错误信息
    private Date createDate;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getProgramType() {
        return programType;
    }

    public void setProgramType(String programType) {
        this.programType = programType;
    }

    public String getProgramTypeName() {
		return programTypeName;
	}

	public void setProgramTypeName(String programTypeName) {
		this.programTypeName = programTypeName;
	}

	public Integer getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getOperatorTypeName(){
        return EOperatorType.note(this.operatorType);
    }

    public String getStateName(){
        return  PayGoodsOrderLogEnum.ItemState.note(this.state);
    }
}

